package sk.tuke.kephera.connector;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class KepheraMsg {
    private static long ids = 2; //starting for reply
    private List<String> to;
    private String from;
    private int type;
    private Map<String, String> body;

    public KepheraMsg() {
        this.to = new ArrayList<String>();
        this.from = "unknown@default";
        this.type = (int) ids++;
        this.body = new HashMap<String, String>();
    }

    public List<String> getTo() {
        return to;
    }

    public void setTo(List<String> to) {
        this.to = to;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Map<String, String> getBody() {
        return body;
    }

    public void setBody(Map<String, String> body) {
        this.body = body;
    }


}
